<extend name="Base/common"/> 
<block name="header">
    <header class="jumbotron">
        <div class="container">
            <h2>起点有高有低,唯有<b>坚持</b>才能演绎精彩！</h2>
            <p class="lead">简易二维码签到系统,可发布会议，可手机扫描后输入手机号验证</p>
            <p class="lead">扫描会议下面的二维码对即可签到</p>
        </div>
    </header>
</block> 
<block name="body">
    <div class="row"> 
        <section id="contents">
            <volist name="meetings" id="ameeting">
                <div class="col-sm-6 col-md-3">
                    <div class="thumbnail" title="{$ameeting.name}">
                        <img src="{:U('index/qrcode',array('mid'=>$ameeting['id']))}" alt="QR code"/>
                        <div class="caption"> 
                            <p style=" overflow: hidden;white-space: nowrap;text-overflow: ellipsis;">{$ameeting.description}</p>
                            <p>
                                <a href="{:U('index/detail', array('mid'=>$ameeting['id']))}" class="btn btn-primary btn-block" role="button">进入</a>
                                <eq name="Think.session.logined_email" value="$ameeting['email']">
                                <a href="{:U('index/del', array('mid'=>$ameeting['id']))}" class="btn btn-danger btn-block" role="button">删除</a>
                                </eq> 
                            </p>
                        </div>
                    </div>
                </div> 
            </volist>
        </section>
    </div> 
</block>